import request from '@/utils/request'

// 获取用户信息
export function findPage(params) {
    return request({
        url: '/user/findPage',
        method: 'GET',
        params
    })
}
export function addOrUpdate(data) {
    return request({
        url: '/user/addOrUpdate',
        method: 'POST',
        data
    })
}

export function departTree(params) {
    return request({
        url: '/user/departTree',
        method: 'GET',
        params
    })
}
